package com.ruoyi.mateWarehousing.mapper;

import com.ruoyi.mateWarehousing.domain.Inventory;
import com.ruoyi.mateWarehousing.domain.MateWarehousing;
import com.ruoyi.material.domain.MaterialProduct;
import com.ruoyi.warehousing.domain.WarehousingRecords;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface MateWarehousingMapper {
    MateWarehousing selectMateWarehousing(MateWarehousing mateWarehousing);

    Long insertMateWarehousing(MateWarehousing mateWarehousing);

    void updateMateWarehousing(MateWarehousing mateWarehousing);

    public List<MateWarehousing> selectSaleWarehousing(Map<String,Object> resMap);

    public List<MaterialProduct> selectProductToWar(MaterialProduct materialProduct);

    public List<MateWarehousing> selectWarehousingDetail(MateWarehousing mateWarehousing);

    public List<MateWarehousing> mateProductList(Map<String,Object> resMap);

    public List<MateWarehousing> selectMateWarehousingList(Map<String,Object> resMap);

    public List<MateWarehousing> selectTendency(Long deptId);


    List<Inventory> selectProductToWar_new(Inventory inventory);
}
